
import { Column, Table } from 'sequelize-typescript';
import { BaseModel } from '@/model'
import { DataTypes } from "sequelize";

@Table
export class RoleMenu extends BaseModel {
  @Column({ type: DataTypes.INTEGER, primaryKey: true, comment: "角色Id" })
  roleId: number;

  @Column({ type: DataTypes.INTEGER, defaultValue: 0, comment: "客户端类型" })
  client: number;

  @Column({ type: DataTypes.TEXT, comment: "菜单Id" })
  checkedKeys: string;
}
